package com.lgy.ms.core.bean;


import lombok.Data;

import java.io.Serializable;

/**
 * @author Gylin
 */
@Data
public class SessionInfo implements Serializable {

    private String sessionId;
    private String userId;
    private long lastSaveTime = 0;
    /**
     * 为true时是超级管理员
     */
    private boolean sys = false;

    public boolean isSys() {
        return sys;
    }
}
